{% extends "manage/manage_base.html" %}
{% load i18n %}

{% block help_link %}user/management/marketing/discounts.html{% endblock %}

{% block section %}add-discount{% endblock %}
{% block left-slot-wrapper %}{% endblock %}

{% block content %}
    <div id="manage-tabs">
        <ul>
            <li class="ui-tabs-nav-item"><a href="#data">{% trans 'Add discount' %}</a></li>
        </ul>

        <div id="data">
            <h2>{% trans 'Add discount' %}</h2>
            <form method="post"
                 enctype="multipart/form-data">
                {% csrf_token %}
                {% include "manage/lfs_form.html" %}

                <div class="buttons">

                    <input type="submit"
                           class="button"
                           value="{% trans 'Add discount' %}" />

                    <input type="button"
                           class="button"
                           onclick="window.location='{{ came_from }}'"
                           value="{% trans 'Cancel' %}" />
                </div>
            </form>
        </div>
    </div>
{% endblock %}
